import Mock from 'mockjs'
let List = []
for (let i = 0; i < 3; i++) {
  List.push(Mock.mock({
    id: '@increment',
    title: '@csentence(4)',
    content: doContent
  }))
}
function doContent() {
  let content = []
  for (let i = 0; i < 10; i++) {
    content.push(Mock.mock({
      id: '@increment',
      name: '@csentence(20, 40)'
    }))
  }
  return content
}
const intro = {
  getIntroList: config => {
    return {
      state: 0,
      result: List
    }
  }
}
export default intro
